package com.r2coding.article.feign;

import com.r2coding.article.model.SystemEmailReq;
import com.r2coding.common.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author:98k灬
 * @since:2022/08/14 19:51
 **/
@FeignClient("blog-third-party")
public interface ThirdPartyFeignService {
    @PostMapping("/api/email/sendSystemEmail")
    Result sendSystemEmail(@RequestBody SystemEmailReq req);
}
